<table width="100%" align="center" cellpadding="1" cellspacing="1" class="table table-bordered table-hover table-striped">
  <tr class="info">
    <td width="15%" align="center">姓名</td>
    <td width="11%" align="center">单位</td>
    <td width="13%" align="center">职务</td>
    <td width="30%" align="center">联系地址</td>
    <td width="16%" align="center">详细</td>
    <td width="15%" align="center">档案</td>
  </tr>
  <volist name="bylist" id="vo">
  <tr style="height:30px;">
    <td align="center"><{$vo.name}>&nbsp;</td>
    <td align="center"><{$vo.workplace}>&nbsp;</td>
    <td align="center"><{$vo.job}>&nbsp;</td>
    <td align="center"><{$vo.address}>&nbsp;</td>
    <td align="center"><a name="byDetail" title="<{$vo.sid}>">查看</a></td>
    <td align="center"><a name="oneDetail" title="<{$vo.sid}>">查看</a></td>
  </tr>
  </volist>
</table>
<div id="bys_model_window">
    <iframe id="bys_model_content" src="<{:U('Editor/dealByDetail')}>" frameborder="0" scrolling="no"></iframe>
    <button id="bys_model_close">×</button>
</div>
<script>
    var close=document.getElementById("bys_model_close");
    var bys_model_window=document.getElementById("bys_model_window");
    var bys_model_content=document.getElementById("bys_model_content");
    var byDetail=document.getElementsByName("byDetail");
    var oneDetail=document.getElementsByName("oneDetail");
    close.onclick=function(){
        bys_model_window.style.display="none";
    }
    for(var w=0;w<oneDetail.length;w++){
        oneDetail[w].onclick=function(){
            showDetail(this.title);
        }
    }
    for(z=0;z<byDetail.length;z++){
        byDetail[z].onclick=function(){
            var insid=this.title;
            var tmp=bys_model_content.src.split(".");
            var src=new Array();
            src[0]=tmp[0]+"."+tmp[1];
            src[1]=tmp[2];
            bys_model_content.src=src[0]+"/sid/"+insid+"."+src[1];
            var bwidth=document.body.offsetWidth;
            var wwidth=450;
            bys_model_window.style.left=((bwidth/2)-(wwidth/2))+"px";
            bys_model_window.style.display="block";
        }
    }
</script>